package com.sheep.demo.quartz.feign;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class Test {

    @Autowired
    private DynamicFeignClientFactory<RemoteApiFeign> dynamicFeignClientFactory;

    public void test(){
        //TODO
        RemoteApiFeign remoteApiFeign = dynamicFeignClientFactory.getFeignClient(RemoteApiFeign.class, "sss", "");
        remoteApiFeign.call(null);
    }

}
